/*
 * Copyright (c) 2018-2999 九五云信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.live.comment.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.bean.enums.LiveInterfaceType;
import com.yami.shop.bean.param.LiveRoomParam;
import com.yami.shop.common.util.PageParam;
import com.yami.shop.live.comment.dto.LiveRoomDto;
import com.yami.shop.live.comment.model.LiveLog;
import com.yami.shop.live.comment.model.LiveRoom;
import me.chanjar.weixin.common.error.WxErrorException;

import java.util.List;

/**
 *
 *
 * @author lhd
 * @date 2020-08-05 08:53:17
 */
public interface LiveRoomService extends IService<LiveRoom> {

    void saveLiveRoom(LiveRoom liveRoom) throws WxErrorException;

    void synchronousWxLiveRoom() throws WxErrorException;

    List<LiveRoomParam> getLivingRoomByProdId(Long prodId);


    IPage<LiveRoomDto> pageRoomAndDetail(PageParam<LiveRoomDto> page, LiveRoomParam liveRoom);
}
